<template>
  <div :class="$style.ucTitle1">
    <span> <slot></slot></span>
    <img
      :src="
        backgroundImageUrl ? backgroundImageUrl : require('@/assets/btbj.png')
      "
      alt=""
      :class="$style.ucTitleImg"
    />
  </div>
</template>

<script>
export default {
  name: "DvTitle1",
  props: {
    backgroundImageUrl: String,
  },
};
</script>

<style lang="scss" module>
.ucTitle1 {
  position: relative;
  font-size: 21px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(0deg, #56d1ed 0%, #caf6ff 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  .ucTitleImg {
    height: 13px;
    position: absolute;
    left: 0;
    top: 13px;
  }
}
</style>
